package org.bigjava.bean;

import lombok.Data;
import org.bigjava.user.util.DateUtil;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class User {

  @NotNull
  private long userId;
  @NotBlank
  private String userName;  //
  @NotBlank
  private String password;
  private String petName;
  private String userHead;
  private String userSex;
  private java.sql.Timestamp userDate;
  private long userVip;
  private long userState;
  private long userLikes;


}
